import 'package:flutter/material.dart';

class AnchorSection extends StatefulWidget {
  const AnchorSection({
    super.key,
    required this.child,
  });
  final Widget child;
  @override
  State<AnchorSection> createState() => _AnchorSectionState();
}

class _AnchorSectionState extends State<AnchorSection> {
  late final GlobalKey key = GlobalKey();
  @override
  Widget build(BuildContext context) {
    return SizedBox(
      key: key,
      child: widget.child,
    );
  }
}
